<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" import="java.util.Iterator, java.util.Map, java.util.SortedMap;"%>
	<table border="1">

  <tr>
    <th>Pelicula</th>
    <td><%=request.getAttribute("nomTopMatchesPelis") %></td>
  </tr>
  <tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <th colspan="2">TopMatches Peliculas</th>
  </tr>

<tr>
	<th width="600"> Pelicula </th><th width="300"> Valor </th>
</tr>
<tr>
    <td colspan="2">&nbsp;</td>
  </tr>
  <% 
  
  	SortedMap<Double, String> topMatchs = (SortedMap<Double, String>) request.getAttribute("TopMatchesPelis");
  	Map.Entry datos;
  	for (Iterator iterator = topMatchs.entrySet().iterator(); iterator.hasNext();) {
  		datos  = (Map.Entry) iterator.next(); %>
  		<tr>
  		<td><%=datos.getValue()%></td>
  		<td><%=datos.getKey() %> </td>
  		</tr>	
	<%}%>
	
</table>  